<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:fragment="footer" style="width: 100%; height: 30px;background: lightgray; color:white; font-size: 16px;">
    这是footer!!! </div>
</body>
</html>